<template>
	<div>
		<el-input-number v-model="number" @change="handleChange" :min="1" :max="100" label="描述文字"></el-input-number>
	</div>
</template>

<script>
	export default {
		props: {
			num: {
				type: Number,
				default: false
			},
		},
		data() {
			return {
				number:this.num
			}
		},
		methods: {
			handleChange(value) {
				//console.log(value);
				this.$emit('numberBtn',value)
			}
		}
	}
</script>

<style scoped="scoped">

</style>